#ifndef RANDOM_HPP_INCLUDED
#define RANDOM_HPP_INCLUDED

class rng {
public:
	explicit rng(int seed) : seed_(seed)
	{}

	unsigned int generate() {
		seed_ = seed_ * 1103515245 + 12345;
		return seed_;
	}
private:
	unsigned int seed_;
};

#endif
